# -*- mode: snippet -*-
# name: os.path.scandir
# key: scandir@os.path
# contributor: Shuguang Sun
# --
for file in os.scandir(${1:path}):
    print(file.name, file.path)